package com.xly.webclick;

import android.app.Application;
import android.content.Context;

import com.mob.MobSDK;
import com.xly.webclick.net.RetrofitClient;
import com.xly.webclick.utils.Screen;

/**
 * Created by xuleyuan on 2018/8/18
 */

public class MyApplication extends Application {
    private static MyApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        RetrofitClient.install(this);
        Screen.initScreen(this);
        MobSDK.init(this, "2770740d64148", "b9cc31c9545c26afe3ea8293754a984e");
    }

    public static MyApplication getInstance() {
        return instance;
    }
}
